package smecta.client.print.domain.query;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class SortQuery implements Serializable {

    private static final long serialVersionUID = 7549654870738704108L;
    //当前列
    private String column;
    //排序的规则（升序、降序和默认[默认就是降序]）
    private String order = "desc";

    public SortQuery(String column, String order) {
        this.column = column;
        this.order = order;
    }

}
